<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
    <title>会员管理</title>
</head>
<body background="images/2.jpg">
<a href="insertvip.jsp">添加商品</a>
<table width="480" height="200" cellspacing="0" cellpadding="0"
       border="1">
    <tr align="center" >
        <td>会员id</td>
        <td>会员姓名</td>
        <td>会员性别</td>
        <td>会员年龄</td>
        <td>销售id</td>
        <td>操作</td>
    </tr>

    <c:forEach var="item" items="${list1}">
        <tr>
            <td><c:out value="${item.num}"></c:out></td>
            <td><c:out value="${item.name}"></c:out></td>
            <td><c:out value="${item.gender}"></c:out></td>
            <td><c:out value="${item.age}"></c:out></td>
            <td><c:out value="${item.onum}"></c:out></td>
            <td><a href="VipServlet?method=delete&id=${item.num}">删除</a> <a
                    href="VipServlet?method=huanhuan&id=${item.num}">修改</a>
            </td>
        </tr>
    </c:forEach>

</table>

</body>
</html>
